package com.yango.teach.mapper;

import com.yango.teach.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yango.teach.entity.vo.course.CourseFrontVo;
import com.yango.teach.entity.vo.course.CoursePublishVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author LiDingYin
 * @since 2021-07-24
 */
public interface CourseMapper extends BaseMapper<Course> {

    //课程确认信息
    CoursePublishVo getCoursePublish(String courseId);

    //根据课程id查询课程基本信息-用户界面
    CourseFrontVo getCourseById(String courseId);

    //统计每天新增课程数
    Integer getSaveCourseCount(String day);
}
